package cuit.cx.activity;

import cuit.cx.model.Userinfo;
import cuit.cx.util.StaticConstant;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

public class UserInfoAct extends Activity{
	
	private TextView nameTV,powerTV;
	private Userinfo userinfo;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		setContentView(R.layout.userinfo);
		findView();
		
	}
	
	private void findView(){
		
		nameTV= (TextView) findViewById(R.id.userinfo_name_TV);
		powerTV = (TextView) findViewById(R.id.userinfo_power_TV);
		
		
		System.out.println("StaticConstant.LoginUser.getName()"+StaticConstant.LoginUser.getName());
		System.out.println("StaticConstant.LoginUser.getPower()"+StaticConstant.LoginUser.getPower());
		
		nameTV.setText(StaticConstant.LoginUser.getName());
		powerTV.setText(StaticConstant.LoginUser.getPower());
		
		
	}
	
	
	

}
